/**
 * Package:com.goldcitynet.engine.service.impl;
 * $Id$
 * Copyright(c) 2001-2005 www.afteryuan.com
 */
package com.afteryuan.engine.service.impl;

import com.afteryuan.dao.HibernateEntityDao;
import com.afteryuan.engine.model.CartoonData;
import com.afteryuan.engine.service.CartoonDataService;

import java.util.List;

/**
 * CartoonDataServiceImpl
 * <p/>
 * <p><a href="CartoonDataServiceImpl.java.html"><i>View Source</i></a></p>
 *
 * @author <a href="mailto:afteryuan@afteryuan.com">$Author$</a>
 * @version $Revision$
 */
public class CartoonDataServiceImpl extends HibernateEntityDao<CartoonData> implements CartoonDataService {

    public List<CartoonData> listByCartoon(String id) {
        String hql="from CartoonData where cartoon.id='"+id+"'";
        return createList(hql);
    }
}
